import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "home",
    component: () => import("../views/home.vue"),
  },
  {
    path: "/release",
    name: "release",
    component: () => import("../views/release.vue"),
  },
  {
    path: "/user",
    name: "user",
    component: () => import("../views/user.vue"),
  },
  {
    path: "/login",
    name: "Login",
    component: () => import("../views/Login.vue"),
  },
  {
    path: "/mySelf",
    name: "mySelf",
    component: () => import("../views/mySelf.vue"),
  },
  {
    path: "/changePassword",
    name: "changePassword",
    component: () => import("../views/changePassword.vue"),
  },
  {
    path: "/coll",
    name: "coll",
    component: () => import("../views/Collection.vue"),
  },
];

const router = new VueRouter({
  mode: "history",
  routes,
});

export default router;
